home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / FredFish PD 304.adf / Verify / verify.h < prev   
C/C++ Source or Header  |  1990-01-10  |  2KB  |  59 lines

  1.  
  2. /* 
  3.  * Matt Dillon's Error messages. Hope they're right.
  4.  */
  5.  
  6. struct PERROR {
  7.    int errnum;                   /* Format of global error lookup */
  8.    char *errstr;
  9. };
  10.  
  11. struct PERROR Perror[] = {            /* error code->string */
  12.    103,     "Insufficient free storage",
  13.    105,     "Task table full",
  14.    120,     "Argument line invalid or too long",
  15. /* 121,     "File is not an object module", Can't detect this at the present */ 
  16.    122,     "Invalid resident library during load",
  17.    201,     "No default directory",
  18.    202,     "Object in use",
  19.    203,     "Object already exists",
  20.    204,     "Directory not found",
  21.    205,     "Object not found",
  22.    206,     "Bad stream name",
  23.    207,     "Object too large",
  24.    209,     "Action not known",
  25.    210,     "Invalid stream component name",
  26.    211,     "Invalid object lock",
  27.    212,     "Object not of required type",
  28.    213,     "Disk not validated",
  29.    214,     "Disk write protected",
  30.    215,     "Rename across devices",
  31.    216,     "Directory not empty",
  32.    217,     "Too many levels",
  33.    218,     "Device not mounted",
  34.    219,     "Seek error",
  35.    220,     "Comment too long",
  36.    221,     "Disk full",
  37.    222,     "File delete protected",
  38.    223,     "File write protected",
  39.    224,     "File read protected",
  40.    225,     "Not a DOS disk",
  41.    226,     "No disk",
  42.    232,  "No More Entries",
  43.  
  44.    /* custom error messages */
  45.  
  46.    500,     "Bad arguments",
  47.    501,     "Label not found",
  48.    502,     "Must be within source file",
  49.    503,     "Syntax Error",
  50.    504,     "Redirection error",
  51.    505,     "Pipe error",
  52.    506,     "Too many arguments",
  53.    507,     "Destination not a directory",
  54.    508,     "Cannot mv a filesystem",
  55.    509,  "Error in command name",
  56.      0,     NULL
  57. };
  58.  
  59.